Optimal. Leaf size=45 \[ -\frac{\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt{a \sin (e+f x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.305721, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053, Rules used = {2841, 2738} \[ -\frac{\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt{a \sin (e+f x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2841
Rule 2738
Rubi steps
\begin{align*} \int \frac{\cos ^2(e+f x) (c-c \sin (e+f x))^{5/2}}{\sqrt{a+a \sin (e+f x)}} \, dx &=\frac{\int \sqrt{a+a \sin (e+f x)} (c-c \sin (e+f x))^{7/2} \, dx}{a c}\\ &=-\frac{\cos (e+f x) (c-c \sin (e+f x))^{7/2}}{4 c f \sqrt{a+a \sin (e+f x)}}\\ \end{align*}
Mathematica [B] time = 0.902693, size = 134, normalized size = 2.98 \[ \frac{c^2 (\sin (e+f x)-1)^2 \sqrt{c-c \sin (e+f x)} \left (\sin \left (\frac{1}{2} (e+f x)\right )+\cos \left (\frac{1}{2} (e+f x)\right )\right ) (56 \sin (e+f x)-8 \sin (3 (e+f x))+28 \cos (2 (e+f x))-\cos (4 (e+f x)))}{32 f \sqrt{a (\sin (e+f x)+1)} \left (\cos \left (\frac{1}{2} (e+f x)\right )-\sin \left (\frac{1}{2} (e+f x)\right )\right )^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.231, size = 195, normalized size = 4.3 \begin{align*}{\frac{ \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{4}+\sin \left ( fx+e \right ) \left ( \cos \left ( fx+e \right ) \right ) ^{3}-4\, \left ( \cos \left ( fx+e \right ) \right ) ^{3}+3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -4\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}-7\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) +8\,\cos \left ( fx+e \right ) -\sin \left ( fx+e \right ) -1 \right ) \sin \left ( fx+e \right ) }{4\,f \left ( \left ( \cos \left ( fx+e \right ) \right ) ^{3}+ \left ( \cos \left ( fx+e \right ) \right ) ^{2}\sin \left ( fx+e \right ) -3\, \left ( \cos \left ( fx+e \right ) \right ) ^{2}+2\,\sin \left ( fx+e \right ) \cos \left ( fx+e \right ) -2\,\cos \left ( fx+e \right ) -4\,\sin \left ( fx+e \right ) +4 \right ) } \left ( -c \left ( -1+\sin \left ( fx+e \right ) \right ) \right ) ^{{\frac{5}{2}}}{\frac{1}{\sqrt{a \left ( 1+\sin \left ( fx+e \right ) \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{5}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{a \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.70762, size = 235, normalized size = 5.22 \begin{align*} -\frac{{\left (c^{2} \cos \left (f x + e\right )^{4} - 8 \, c^{2} \cos \left (f x + e\right )^{2} + 7 \, c^{2} + 4 \,{\left (c^{2} \cos \left (f x + e\right )^{2} - 2 \, c^{2}\right )} \sin \left (f x + e\right )\right )} \sqrt{a \sin \left (f x + e\right ) + a} \sqrt{-c \sin \left (f x + e\right ) + c}}{4 \, a f \cos \left (f x + e\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (-c \sin \left (f x + e\right ) + c\right )}^{\frac{5}{2}} \cos \left (f x + e\right )^{2}}{\sqrt{a \sin \left (f x + e\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]